﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpReInAdd.aspx.cs" Inherits="UI.ModEmployee.EmpReInAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>返聘与复职</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
       <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
            
    <style type="text/css">
        td
        {
            height: 27px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
   <br />
    &nbsp;<br />
    &nbsp;<p style="text-align: center; font-size: large;">
        <strong>离职返聘与长假复职</strong></p>
    <br />
    <table style="width: 75%;"  align="center" class="td">
        <tr>
            <td>
                员工编号:
            </td>
            <td>
                <asp:TextBox ID="txtEmpCode" runat="server" CssClass="InputCss" Width="100px"
                    AutoPostBack="True" OnTextReInd="txtEmpCode_TextReInd" TabIndex="0" 
                    ontextchanged="txtEmpCode_TextChanged"></asp:TextBox>
                    <a href="javascript:ShowLink('ZipSeaForIn.aspx',880,550)"><img src="../Images/Search.gif" alt="搜索" width="27" height="12" border="0" /></a>
                <asp:RequiredFieldValidator ID="rfvEmpCode" runat="server" 
                    ControlToValidate="txtEmpCode" ErrorMessage="*工号必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
             <td>
                员工姓名:
            </td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="1"></asp:TextBox>
            </td>
            </tr>
            <tr>
            <td>
                原部门:
            </td>
            <td>
                <asp:TextBox ID="txtOldDeptName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="2"></asp:TextBox>
            </td>
            <td>
                新部门:
            </td>
            <td>
                 <asp:DropDownList ID="ddlDeptID" runat="server"  CssClass="InputCss"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                     Width="100px" TabIndex="3">
            </asp:DropDownList>
            </td>
        </tr>
        <tr>
           
            <td>
                原职位:
            </td>
            <td>
                <asp:TextBox ID="txtOldDutyName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="4"></asp:TextBox>
            </td>
            <td>
                新职位:
            </td>
            <td>
               <asp:DropDownList ID="ddlDutyID"  CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    runat="server" TabIndex="5">
            </asp:DropDownList>
            </td>
        </tr>
            <tr>
           
            <td>
                原区域:
            </td>
            <td>
                <asp:TextBox ID="txtOldAreaName" runat="server" CssClass="InputCss" Width="100px" onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="6"></asp:TextBox>
            </td>
            <td>
                新区域:
            </td>
            <td>
               <asp:DropDownList ID="ddlAreaID"  CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    runat="server" TabIndex="7">
            </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                入职状态:
            </td>
            <td>
                <asp:DropDownList ID="ddlStateID" runat="server" CssClass="InputCss" >
                    </asp:DropDownList>
            </td>
            <td>
                类别:
            </td>
            <td>
               
            <asp:DropDownList ID="ddlReInTypeName" runat="server" TabIndex="9" onkeydown="if(event.keyCode==13)event.keyCode=9" >
                <asp:ListItem Selected="True">返聘</asp:ListItem>
                <asp:ListItem>复职</asp:ListItem>
            </asp:DropDownList>
            </td>
           
        </tr>
        <tr>
         <td>
               复职/返聘时间:
            </td>
            <td>
                <asp:TextBox ID="txtReInTime" runat="server" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" 
                    CssClass="InputCss" Width="100px" onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="10"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvTime" runat="server" 
                    ControlToValidate="txtReInTime" ErrorMessage="*时间必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
             <td>
                
                 试用时长</td>
             <td>
                <asp:TextBox ID="txtTestTimeLong" runat="server" CssClass="InputCss" Width="30px"
                        TabIndex="11" MaxLength="2">3</asp:TextBox>
                 月</td>
        </tr>
         <tr>
         <td>
               <font color="red">离职马上又返聘者</font>
            </td>
            <td>
               
                <asp:CheckBox ID="cbInsurance" runat="server" Text="激活保险" />
&nbsp;</td>
             <td>               
                </td>
             <td> </td>
        </tr>
        <tr>
            <td>
                备注:
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="420px" TabIndex="12"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    Rows="3" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
    </table>
    <p style="text-align: center;">
        <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="12" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" 
            OnClick="btnUpdate_Click" TabIndex="13" style="height: 21px" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" 
            OnClick="btnDelete_Click"  OnClientClick="return confirm('确定要删除吗?\n');" TabIndex="14" />
        &nbsp;<asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="关闭" 
            TabIndex="17" CausesValidation="False" />
        <br />
        <br />
        离职后立即复职，保险没有间断，才可能选择激活保险<br />
    </p>
    </form>
</body>
</html>
